import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/assets/globel.css'
import { Pagination } from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
// 引入axios
import axios from 'axios'
// 配置axios的路径
Vue.use(Pagination)
axios.defaults.baseURL = 'http://localhost:3000/'
// 将axios挂载到Vue原型上并且通过Vue.$http调用
Vue.prototype.$http = axios
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
